<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>IdeaEditor在线编辑器</title>
	<script type="text/javascript" src="editor.js"></script>
	<link rel="stylesheet" href="editor.css" />
</head>	
<body>
	<div>IdeaEditor</div>
	<div id="idea"></div>

</body>
    <script type="text/javascript">     
        // editor("idea");
        var editor = new IdeaEditor("idea", 500, 200);
    </script>
</html>